This is an L2VPN service model. The service model help provision a service with multiple sites. Each site would consist of device, interface, neighbour, and MTU configurations. The service model consists of three main files: - Yang: This file represent the form data. The minimum input required by engineers to fill out to use the service. - XML: These set of files represent the device variables that must be applied. - Python: The python script manipualte the inputs from the yang before applying them to the XML templates. Requirements: - NSO version (minimum): 4.1 - Cisco-IOSXR NED version (tested on): 7.1 - Devices: 2 IOSXR To Compile the service model: - cd src - Run: make clean all To load the service model: - Navigate to: ncs_cli - Run: Request packages reload Sample Test Data: { "/ncs:services/itential-l2vpn:l2vpn": [{ "id": 12321, "bandwidth": "10", "pwid": "4000", "qos_policy": "Q-5rt-95sd", "location": [{ "location": "Atlanta" }, { "location": "Dallas" }], "device": [{ "location": "Atlanta", "device": "iosxr0", "description": "testingDescriptionSite1", "interface": "11", "svlan": "232", "neighbor": "2.2.2.2", "mtu": "2000" }, { "location": "Dallas", "device": "iosxr1", "description": "testingDescriptionSite2", "interface": "33", "svlan": "45", "neighbor": "2.2.2.1", "mtu": "2000" }] }] }